package cn.maxhou.service;

import cn.maxhou.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserService {
    int insert(User user);
    int checkusername(String username);
    int isUser(String username);
    int isAdmin(String username);
    int userlogin(String username,String password);
    int amdinlogin(String username,String password);
    User getUser(String username);
}
